﻿<%--<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CRM.Models.Rubrics>" %>--%>
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<CRM.Database.Model.Rubrics>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    SendMail
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>SendMail</h2>

<p>Result = <%: ViewData["log"].ToString() %></p>

<% using (Html.BeginForm("SendMail"))
       { //Model.DescriptionEn     %>
        <br />
        <%:Html.DevExpress().TextBox( settings => 
                    {
                        settings.Name = "NameRu";
                        settings.Width = 300;
                        settings.Properties.NullText = "To...(28katkow02@lnprof01.kbemos.ru)";
                    }).GetHtml()%>
        <br />
        <%:Html.DevExpress().TextBox( settings => 
                    {
                        settings.Name = "DescriptionEn";
                        settings.Width = 300;
                        settings.Properties.NullText = "Subject...(Test subject)";
                    }).GetHtml()%>
        <br />
        <%:Html.DevExpress().TextBox( settings => 
                    {
                        settings.Name = "DescriptionRu";
                        settings.Width = 300;
                        settings.Properties.NullText = "Body...(Test body)";
                    }).GetHtml()%>
        <br />
        <%:Html.DevExpress().TextBox( settings => 
                    {
                        settings.Name = "IdUser";
                        settings.Width = 300;
                        settings.Properties.NullText = "Attachment... (Default: AcceptenceMoscowFilePath)";
                    }).GetHtml()%>
        <br />
       <button type="submit" value="Создать заявку">Отправить</button>
    <% } %>

</asp:Content>
